package com.glela.serial.mapper;

import com.glela.serial.model.TitleDiscoveryTag;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TitleDiscoveryTagMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TitleDiscoveryTag record);

    int insertSelective(TitleDiscoveryTag record);

    TitleDiscoveryTag selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TitleDiscoveryTag record);

    int updateByPrimaryKey(TitleDiscoveryTag record);

    List<TitleDiscoveryTag> selectLikeAll(TitleDiscoveryTag vo);

    Integer selectLikeAllCount(TitleDiscoveryTag vo);

    List<TitleDiscoveryTag> selectAll(TitleDiscoveryTag vo);

    Integer selectAllCount(TitleDiscoveryTag vo);

    List<TitleDiscoveryTag> selectAllBatch(@Param("titleIds") List<Integer> titleIds);
}